package com.example.demo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.intf.TestInterface;

/**
 * @author 88377761
 *
 */
@RestController
public class TestController {

	@Autowired
	TestInterface test;

	@RequestMapping("/hello")
	public String test(String name) {
		return test.test("11") + " " + name;
	}

}
